<script type="text/javascript">
$(document).ready(function(){
	
//Set default open/close settings
$('.acc_container').hide(); //Hide/close all containers
//
//On Click
$('.acc_trigger').click(function(){
	if( $(this).next().is(':hidden') ) { //If immediate next container is closed...
		$('.acc_trigger').removeClass('active').next().slideUp(); //Remove all .acc_trigger classes and slide up the immediate next container
		$(this).toggleClass('active').next().slideDown(); //Add .acc_trigger class to clicked trigger and slide down the immediate next container
	}
	return false; //Prevent the browser jump to the link anchor
});

});
</script>

<div style="width: 240px;">
    <div class="navigasi_admin_panel">
        <div class="head_tapp">
            <h3>Dasboard Penelitian</h3>
        </div>
        <div class="navigasi_admin">
                <h2 class="acc_trigger"><a href="#">Manajemen Admin</a></h2>
                <div class="acc_container">
                        <div class="block">
                               <ul>
                                   <li><a href="<?php echo base_url().'index.php/admin/detail' ?>">Data Admin</a></li>
                                   <li><a href="<?php echo base_url().'index.php/admin/edit' ?>">Ubah Data Akun Admin</a></li>
                                   <li><a href="<?php echo base_url().'index.php/admin/edit_pass' ?>">Ubah Password</a></li>
                                   <li><a href="<?php echo base_url().'index.php/admin/register' ?>">Tambah Akun Admin</a></li>
                                </ul> 
                        </div>
                </div>
                <h2 class="acc_trigger"><a href="#">Manajemen Penelitian</a></h2>
                <div class="acc_container">
                        <div class="block">
                                 <ul>
                                    <li><a href="<?php echo base_url().'index.php/admin/list_proposal_baru' ?>">Daftar Proposal Baru</a></li>
                                    <li>Tambah Penelitian Baru</li>
                                    <li>Detail Penelitian</li>
                                    <li>Edit Penelitian</li>
                                    <li>Lihat Peserta Penelitian</li>
                                </ul>
                        </div>
                </div>

                <h2 class="acc_trigger"><a href="#">Data Dosen</a></h2>
                <div class="acc_container">
                        <div class="block">
                            <ul>
                                <li>Daftar Semua Dosen</li>
                                <li>Detail Dosen</li>
                                <li>Edit Data Dosen</li>
                                <li>Tambah Akun Dosen</li>
                            </ul>
                        </div>
                </div>
                <h2 class="acc_trigger"><a href="#">Data Fakultas & Jurusan</a></h2>
                <div class="acc_container">
                        <div class="block">
                            <ul>
                                <li><a href="<?php echo base_url().'index.php/admin/view_fak_jur' ?>">Daftar Fakultas & Jurusan</a></li>
                            </ul>
                        </div>
                </div>
                <h2 class="acc_trigger"><a href="#">Manajemen Pengumuman</a></h2>
                <div class="acc_container">
                        <div class="block">
                            <ul>
                                <li>Daftar Semua Pengumuman</li>
                                <li>Detail Pengumuman</li>
                                <li>Edit Pengumuman</li>
                                <li>Tambah Pengumuman Baru</li>
                            </ul>        
                        </div>
                </div>
                <h2 class="acc_trigger"><a href="#">Manajemen Program</a></h2>
                <div class="acc_container">
                        <div class="block">
                            <ul>
                                <li><a href="<?php echo base_url().'index.php/program' ?>">Daftar Master Program</a></li>
                                <li><a href="<?php echo base_url().'index.php/program/insert' ?>">Tambah Program Baru</a></li>
                                <li><a href="<?php echo base_url().'index.php/program/insert_tahun' ?>">Tambah Tahun Program</a></li>
                            </ul>
                        </div>
                </div>
                <h2 class="acc_trigger"><a href="#">Manajemen SKIM</a></h2>
                <div class="acc_container">
                        <div class="block">
                            <ul>
                                <li><a href="<?php echo base_url().'index.php/skim' ?>">Daftar SKIM</a></li>
                                <li><a href="<?php echo base_url().'index.php/skim/insert' ?>">Buat SKIM Baru</a></li>
                                <li><a href="<?php echo base_url().'index.php/skim/bidang_penelitian' ?>">Daftar Bidang Penelitian</a></li>
                                <li><a href="<?php echo base_url().'index.php/skim/bidang_penelitian' ?>">Daftar Jadwal SKIM</a></li>
                                <li><a href="<?php echo base_url().'index.php/skim/bidang_penelitian' ?>">Buat Jadwal SKIM Baru</a></li>
                                <li><a href="<?php echo base_url().'index.php/skim/bidang_penelitian' ?>">Daftar Pengumuman SKIM</a></li>
                                <li><a href="<?php echo base_url().'index.php/skim/bidang_penelitian' ?>">Buat Pengumuman SKIM Baru</a></li>
                                <li><a href="<?php echo base_url().'index.php/skim/bidang_penelitian' ?>">Daftar Syarat SKIM</a></li>
                                <li><a href="<?php echo base_url().'index.php/skim/bidang_penelitian' ?>">Buat Syarat SKIM Baru</a></li>
                            </ul>
                        </div>
                </div>
        </div>
    </div>
    <div class="petunjuk_admin_panel">
        <div class="head_tapp">
            <h3>Petunjuk</h3>
            <div class="acc_container">
                    <div class="block">
                           <div class="petunjuk">
                                <p><?php echo $data_petunjuk ?></p>
                            </div>
                    </div>
            </div>
        </div>
    </div>
    </div>
</div>